package com.gdyx.app.web.svc;

import com.gdyx.app.web.model.MpsFun;
import com.gdyx.app.web.model.MpsFunOpt;

import java.util.List;
import java.util.Map;

/**
 * Created by Y_Coffee on 2017/8/3.
 */
public interface MpsFunSvc {
    void save(MpsFun o);

    void saveOrUpdate(MpsFun o);

    void delete(String id);

    void update(MpsFun o);

    int count(Map<String, Object> map);

    MpsFun findMpsFunById(String id);

    MpsFun findMpsFunByHref(String href);

    List<MpsFun> findMpsFuns(Map<String, Object> map);

    void setAuthority(String roleId, String ids, String Ownerid, List<MpsFun> mpsFunList, List<MpsFunOpt> mpsFunOptList);
}
